package com.nkdx.ws.service;

import com.nkdx.ws.dto.UserDto;
import com.nkdx.ws.eto.UserEto;

import java.util.Date;
import java.util.List;

/**
 *   用户相关 Service
 *
 * @author ZZW
 * @date 2022/3/3 4:50 下午
 * @param
 * @return
 */
public interface UserService {

    public List<UserDto> findAllUsers();

    public void updateUserLastLoginTime(Integer id, Date lastLoginTime);

    public UserDto findUserById(Integer id);

    UserDto update(UserEto eto);

    UserDto insert(UserEto eto);

    UserDto verificationName(String name);

    UserDto getLoginUser();
}
